Rhapsody Developer Release Copyright 1998 by Apple Computer, Inc. All Rights Reserved
This file contains release notes for Developer Release (2) of WrapIt. WrapIt is an application that lets one specify interactively how to expose a set of Objective-C entities (types, classes, categories, and protocols) as JavaTM classes and interfaces.
WrapIt is a new developer application appearing in the second Developer Release. Its most important features are:
Easy exposure of Objective-C entities to Java. WrapIt presents the developer with browsers that display the Objective-C types, classes, categories, and protocols that can be exposed to Java. Choosing to do so is a matter of picking the entity to expose and choosing the methods one wants to see in Java. You can easily customize the generated code by adding Java code to the generated descriptions. Objective-C selectors are automatically mapped to the method names chosen by editing the default Java method name for a given selector.
Generated descriptions conform to the Java 1.1 specifications. WrapIt fully supports adding any Java modifier to any method, class or interface. It will even let you generate inner interfaces or classes for your Java wrappers.
Highlighting of potential errors. WrapIt tags some exposures that are incorrect, like the exposure of a class whose superclass was exposed as a final Java class, the exposure of a subclass in a different package than its superclass if its superclass is package protected, and similar errors.
These bugs have been found in the Developer Release:
Reference |
2208185 |
Problem |
WrapIt searches for .jobs and .h files in a fixed set of locations. |
Description |
WrapIt looks for files only in the directory containing the .jobs and primary .h files, and in the standard places for .jobs and .h files. It is thus usually impossible to run WrapIt on a built project because WrapIt looks for its installed headers, which might not be the most up-to-date ones. |
Workaround |
Install any project whose header files might be needed by WrapIt. |
Reference |
2216051 |
Problem |
Dragging an .h file to an empty file well causes a failure. |
Description |
Dragging a header file to an empty file well results in the display of a dialog saying "Unable to install filename.h." The document is closed after this dialog is dismissed. |
Workaround |
Create an empty .jobs file that includes some lines like the following: import AppKitJava.jobs Then open the .jobs file in WrapIt. The same dialog is displayed but the document is not closed after you dismiss the dialog, and you can proceed to work on the file. |